#ifndef _I2C_TEST_H_
#define _I2C_TEST_H_

#ifdef __cplusplus
extern "C" {
#endif

#define I2C_MPU6050     1

#define MPU6050Address  0x68

#define SMPLRT_DIV 		0x19 
#define CONFIG 			0x1A 
#define GYRO_CONFIG 	0x1B 
#define ACCEL_CONFIG 	0x1C 
#define ACCEL_XOUT_H 	0x3B
#define ACCEL_XOUT_L 	0x3C
#define ACCEL_YOUT_H 	0x3D
#define ACCEL_YOUT_L 	0x3E
#define ACCEL_ZOUT_H 	0x3F
#define ACCEL_ZOUT_L 	0x40
#define TEMP_OUT_H 		0x41
#define TEMP_OUT_L 		0x42
#define GYRO_XOUT_H 	0x43
#define GYRO_XOUT_L 	0x44
#define GYRO_YOUT_H 	0x45
#define GYRO_YOUT_L 	0x46
#define GYRO_ZOUT_H 	0x47
#define GYRO_ZOUT_L 	0x48
#define PWR_MGMT_1 		0x6B 
#define WHO_AM_I 		0x75 
#define LSB_g 			16384 
#define deg_LSB 		10/164
#define LSB_t 			340 

void i2c_task();

#ifdef __cplusplus
}
#endif

#endif